<%@page import="com.zhuoshi.dao.ContractMasterDao"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%

	request.setCharacterEncoding("UTF-8");
	response.setContentType("text/html;charset=utf-8");
	
	ContractMasterDao dao = new ContractMasterDao();
	String numerical = request.getParameter("numerical");//合同数字编号
	//String letternum = request.getParameter("letternum");//合同字母编号
	boolean result = dao.verifyNumerical(Integer.parseInt(numerical));
	
	if(result){
		response.getWriter().write("此合同号已存在");
	}else{
		response.getWriter().write("此合同号不存在");
	}
	//out.print(numerical + letternum);

%>
